<?php !defined('DYHB_PATH') && exit; /* DoYouHaoBaby Framework 模板缓存文件 生成时间：2011-05-28 18:46:37  */ ?>
<?php $this->includeChildTemplate( "".APP_PATH."/Tpl/Default/public_header.html" ,"" ,"" ,"" )  ;?>

   <!-- 标题  -->
   <div class="title"><?php print G::L( "过滤词语列表", null, null ) ; ?></div>

   <!-- 工具条  -->
   <div class="toolbar">
      <!--  功能操作区域  -->
      <div class="operate left" >
	      <input type="button" name="add" value="<?php print G::L( "新增", null, null ) ; ?>" onclick="add()" class="add button">
          <input type="button" name="delete" value="<?php print G::L( "删除", null, null ) ; ?>" onclick="foreverdel()" class="delete button">
      </div>
      <!-- 查询区域 -->
      <div class="right search_form">
         <form method='post' action="__ACTION__">
            <div class="left">
			   <input type="text" name="badword_find" title="<?php print G::L( "待查找词语", null, null ) ; ?>" class="field" >
               <input type="submit" id="" name="search" value="<?php print G::L( "查询", null, null ) ; ?>" onclick="" class="search button">
			</div>
        </form>
     </div>
  </div>

  <!-- 清除浮动 -->
  <span class="clear"></span>

  <!-- 正文 -->
  <div id="content" class="content">

      <table class="data full" id="checkList">
        <thead>
         <tr>
          <th width="5px"><input type="checkbox" onclick="checkAll('checkList')"></th>
          <th><a href="javascript:sortBy('badword_id','<?php echo( $sSortByUrl ); ?>')" title="<?php print G::L( "按照编号", null, null ) ; ?><?php echo( $sSortByDescription ); ?><?php print G::L( "排列", null, null ) ; ?> "><?php print G::L( "编号", null, null ) ; ?></a></th>
          <th><a href="javascript:sortBy('badword_find','<?php echo( $sSortByUrl ); ?>')" title="<?php print G::L( "按照不良词语", null, null ) ; ?><?php echo( $sSortByDescription ); ?><?php print G::L( "排列", null, null ) ; ?> "><?php print G::L( "不良词语", null, null ) ; ?></a></th>
		  <th><a href="javascript:sortBy('badword_replacement','<?php echo( $sSortByUrl ); ?>')" title="<?php print G::L( "按照替换为", null, null ) ; ?><?php echo( $sSortByDescription ); ?><?php print G::L( "排列", null, null ) ; ?> "><?php print G::L( "替换为", null, null ) ; ?></a></th>
		  <th><?php print G::L( "替换为", null, null ) ; ?></th>
          <th><a href="javascript:sortBy('badword_admin','<?php echo( $sSortByUrl ); ?>')" title="<?php print G::L( "按照不良词语", null, null ) ; ?><?php echo( $sSortByDescription ); ?><?php print G::L( "排列", null, null ) ; ?> "><?php print G::L( "操作人", null, null ) ; ?></a></th>
          </tr>
          </thead>
          <tbody>
          <?php $i=1 ;?>
<?php if( is_array( $arrList ) ) : foreach( $arrList as $key=>$value): ?>

           <tr>
            <td><input type="checkbox" name="key"	value="<?php echo( $value['badword_id'] ); ?>"></td>
            <td><?php echo( $value['badword_id'] ); ?></td>
            <td class="pointer" title="<?php print G::L( "点击修改数据", null, null ) ; ?>" id="badword_find_<?php echo( $value['badword_id'] ); ?>" onClick="clickToInput('badword_find','<?php echo( $value['badword_id'] ); ?>')"><?php echo( $value['badword_find'] ); ?></td>
            <td class="pointer" title="<?php print G::L( "点击修改数据", null, null ) ; ?>" id="badword_replacement_<?php echo( $value['badword_id'] ); ?>" onClick="clickToInput('badword_replacement','<?php echo( $value['badword_id'] ); ?>')"><?php echo( $value['badword_replacement'] ); ?></td>
			<td>&gt;</td>
            <td><?php echo( $value['badword_admin'] ); ?></td>
          </tr>
          
<?php $i++ ;?>
<?php endforeach;endif; ?>
        </tbody>
        </table>

		<!-- 工具条  -->
		<div class="toolbar">
		   <!--  功能操作区域  -->
           <div class="operate" >
              <input type="button" name="add" value="<?php print G::L( "新增", null, null ) ; ?>" onclick="add()" class="add button">
              <input type="button" name="delete" value="<?php print G::L( "删除", null, null ) ; ?>" onclick="foreverdel()" class="delete button">
           </div>
	    </div>

		<!-- 分页条  -->
		<?php echo( $sPageNavbar ); ?>

   </div>
   <!-- end content -->

<?php $this->includeChildTemplate( "".APP_PATH."/Tpl/Default/public_footer.html" ,"" ,"" ,"" )  ;?>